﻿using BJoin.Application.Dto;
using BJoin.Common;
using System.ComponentModel;

namespace BJoin.DemoProject.Dtos
{
    public enum DropDownEnum
    {
        /// <summary>
        /// 文件格式
        /// </summary>
        [ReferenceEnumType(typeof(MessageEnum))]
        Message = 0,
        /// <summary>
        /// 文件格式2
        /// </summary>
        [ReferenceEnumType(typeof(FileFormatEnum))]
        FileFormat = 1
    }
    public enum FileFormatEnum
    {
        /// <summary>
        /// Pdf格式
        /// </summary>
        [Description("Pdf格式")]
        Pdf = 0,
        /// <summary>
        /// Word格式（doc/docx）
        /// </summary>
        [Description("Word格式")]
        Word = 1,
        /// <summary>
        /// Text格式
        /// </summary>
        [Description("Txt格式")]
        Txt = 2

    }
}
